package net.fdukedom.epicurus.tools.logging;

/**
 * Default core writers.
 *
 * @author Dmitry Y. Kochelaev
 */
public enum WriterId {

    /**
     * Plugin loader subsystem.
     */
    PLUGIN_LOADER("plugin-loader"),

    /**
     * Messaging subsystem.
     */
    MESSAGING("messaging"),

    /**
     * Resource dispatcher subsystem.
     */
    RESOURCE_DISPATCHER("resource-dispatcher"),

    /**
     * Domain subsystem.
     */
    DOMAIN("domain"),

    /**
     * Mailer subsystem.
     */
    MAILER("mailer"),

    /**
     * Installer subsystem.
     */
    INSTALLER("installer"),

    /**
     * Presentation subsystem.
     */
    PRESENTATION("presentation"),
    
    /**
     * Web service subsystem.
     */
    WEBSERVICE("webservice");

    /**
     * Writer.
     */
    private final String writerId;

    private WriterId(String writerId) {
        this.writerId = writerId;
    }

    /**
     * Returns writerId.
     *
     * @return writerId
     */
    public String getValue() {
        return writerId;
    }
}
